* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-tap-highlight-color:rgba(0,0,0,0); 
}

body, #root {
  background-color: #000;
  width: 100vw;
  height: 100vh;
}

.app {
  width: 100vw;
  height: 100vh;
}

.site {
  width: 100vw;
  height: 100vh;

  .site-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: hidden;
    overflow-x: hidden;
  }

  .site-title {
    position: absolute;
    left: 1rem;
    top: 0.5rem;

    .num {
      font-size: 50px;
      color: #fff;
      font-weight: bold;
      font-family: 'Microsoft YaHei';
    }

    .total {
      color: #1b1464;
      font-size: 22px;
      font-weight: bold;
    }

    .question {
      color: #fff;
      font-weight: bold;
      margin-top: 0.2rem;
      font-size: 16px;
    }
  }

  .site-img {
    position: absolute;
    left: 50%;
    top: 4rem;
    transform: translateX(-50%);
    width: 85vw;
    height: 4.5rem;
  }

  .food-item {
    position: absolute;
    top: 4rem;
    left: 5vw;
    width: 90vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    .item {
      flex: 1;
      margin-left: 0.6rem;
      padding-bottom: 0.5rem;
      img {
        width: 3rem;
        height: 2.8rem;
      }

      p {
        position: relative;
        margin-top: 4px;
        text-align: left;
        color: #1b1464;
        font-weight: bold;
        font-size: 14px;
        padding-left: 40px;
        i {
          position: absolute;
          left: 0.1rem;
          bottom: 0;
          width: 0.4rem;
          height: 0.4rem;
          border-radius: 50%;
          border: 2px solid #fff;
    
          &.active {
            background-color: skyblue;
          }
        }
      }

    }
  }

  .option {
    position: absolute;
    top: 9.4rem;
    left: 0;
    width: 100vw;
    display: flex;

    .option-item {
      position: relative;
      padding-right: 30px;
      width: 50vw;
      text-align: right;
      i {
        position: absolute;
        left: 6vw;
        top: 0;
        width: 6vw;
        height: 6vw;
        border-radius: 50%;
        border: 2px solid #fff;

        &.active {
          background-color: skyblue;
        }
      }
      img {
        width: 26vw;
      }
    }

  }

  .site-foot {
    position: absolute;
    top: 12rem;
    left: 40px;
    width: 80vw;

    .site-foot-img {
      width: 25vw;
    }

    .site-btn {
      margin-top: 40px;
      float: right;
      img {
        width: 30vw;
      }
    }
  }

}

.input {
  width: 100vw;
  height: 100vh;

  .input-bg {
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
  }

  .input-action {
    position: absolute;
    left: 50%;
    top: 100px;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;

    .input-name {
      border: 1px solid #1b1464;
      float: left;
      height: 38px;
      padding-left: 5px;
      -webkit-appearance: none;
      width: 150px;
      border-radius: 0;
      font-size: 14px;
    }

    .input-go {
      color: #fff;
      background-color: #1b1464;
      height: 40px;
      line-height: 40px;
      text-align: center;
      width: 40px;
      font-size: 16px;
      float: left;
    }
  }
}

.footer-btn {
  position: absolute;
  top: 15rem;
  width: 100vw;
  left: 0;
  display: flex;
  justify-content: center;
  z-index: 999;

  .footer-btn-item {
    flex: 1;
    text-align: center;
    img {
      width: 40vw;
    }
  }
}

.wrap {
  background-color: #000;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;

  .caidan {
    width: 100vw;
    margin: auto;
    z-index: 999;
  }
}

.load-bg {
  position: absolute;
  left: 50%;
  margin-left: -20vw;
  top: 100px;
  width: 40vw;
}

.load-btn {
  position: absolute;
  left: 50%;
  top: 12rem;
  margin-left: -2rem;
  font-size: 0.7rem;
  background-color: #fff;
  color: #a87ce2;
  width: 4rem;
  text-align: center;
  height: 1.2rem;
  line-height: 1.2rem;
  border-radius: 4px;
}

.share-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  background-color: rgba(0, 0, 0, .8);
  text-align: center;
  color: #ccc;
  font-weight: bold;
  font-size: 0.54rem;
  display: flex;
  align-items: center;

  .share-tip {
    width: 100vw;
    text-align: center;
  }
}